import { Component, ViewChild } from '@angular/core';
import { Nav, Platform } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';
// import { SplashScreen } from '@ionic-native/splash-screen';


 // import { HomePage } from '../pages/home/home';
//  import { FirstRunPage } from '../pages/pages';
// import { ListvidoPage } from '../pages/listvido/listvido';
// import { MystatePage } from '../pages/mystate/mystate';

@Component({
  templateUrl: 'app.html'
})
export class MyApp {
  rootPage:any = 'HomePage';

  // @ViewChild(Nav) nav: Nav;

    // pages: any[] = [
    //   { title: 'Home', component: 'HomePage' },
    //   { title: 'Listvido', component: 'ListvidoPage' },
    //   { title: 'Mystate', component: 'MystatePage' },

    // ]



  // constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
  constructor(platform: Platform, statusBar: StatusBar) {
    platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      statusBar.styleDefault();
      // splashScreen.hide();
    });
  }
}

